package entity.salary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author beisheng
 * @since 2023-03-21
 */
@Getter
@Setter
@TableName("adjustment_record")
public class AdjustmentRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "sa_id", type = IdType.AUTO)
    private Integer saId;

    /**
     * 社保调整前方案
     */
    @TableField("social_hitory")
    private String socialHitory;

    /**
     * 公积金调整前方案
     */
    @TableField("accum_history")
    private String accumHistory;

    /**
     * 社保调整后方案
     */
    @TableField("social_now")
    private String socialNow;

    /**
     * 公积金调整后方案
     */
    @TableField("accum_now")
    private String accumNow;

    /**
     * 社保调整前基数
     */
    @TableField("social_historycardinal")
    private Double socialHistorycardinal;

    /**
     * 公积金调整前基数
     */
    @TableField("accum_historycardinal")
    private Double accumHistorycardinal;

    /**
     * 社保调整后基数
     */
    @TableField("social_nowcardinal")
    private Double socialNowcardinal;

    /**
     * 公积金调整后基数
     */
    @TableField("accum_nowcardinal")
    private Double accumNowcardinal;

    /**
     * 生效月份
     */
    @TableField("force_month")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date forceMonth;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;


}
